package com.example.librarymanagement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author lzx
 */
@Data
@ApiModel
public class Type {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty
    private Integer id;

    @ApiModelProperty(value = " 书码 ")
    private String code;

    @ApiModelProperty(value = "类型名称")
    private String typeName;

}
